package com.lyh.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Train implements Serializable {
    int trainId;//pk
    String trainNo;

    //卧铺
    int highGradeSleeper;
    double highGradeSleeperPrice;

    int firstClassSleeper;
    double firstClassSleeperPrice;

    int secondClassSleeper;
    double secondClassSleeperPrice;

    int softSleeper;
    double softSleeperPrice;

    int hardSleeper;
    double hardSleeperPrice;

    //座位
    int businessSeat;
    double businessSeatPrice;

    int firstClassSeat;
    double firstClassSeatPrice;

    int secondClassSeat;
    double secondClassSeatPrice;

    int softSeat;
    double softSeatPrice;

    int hardSeat;
    double hardSeatPrice;

    int noSeat;
    double noSeatPrice;


}
